package com.zmj.sy.mom.srv.aps.mapper;

import com.zmj.sy.mom.srv.aps.bean.entity.order.ImportFramePhase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ImportFramePhaseMapper extends SyMapper<ImportFramePhase> {

    @Select(" delete from tb_import_frame_phase where bom_id = #{bomId}")
    void deleteHard(@Param("bomId") Integer id);

    @Select(" delete from tb_import_frame_phase where order_id = #{orderId}")
    void deleteByOrderId(@Param("orderId") Integer orderId);
}
